package com.qc.toutiao.dao;

import org.apache.ibatis.annotations.Param;

import com.qc.toutiao.pojo.Userinfo;

public interface UserinfoMapper {
    int deleteByPrimaryKey(Integer userId);

    int insert(Userinfo record);

    int insertSelective(Userinfo record);

    Userinfo selectByPrimaryKey(Integer userId);

    int updateByPrimaryKeySelective(Userinfo record);

    int updateByPrimaryKey(Userinfo record);

	Userinfo findUserLogin(@Param("account")String account, @Param("password")String password);
}